package com.young.ysepay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.young.ysepay.dao.YsWithdrawalReceiptDao;
import com.young.ysepay.domain.YsWithdrawalReceiptDO;
import com.young.ysepay.service.YsWithdrawalReceiptService;



@Service
public class YsWithdrawalReceiptServiceImpl implements YsWithdrawalReceiptService {
	@Autowired
	private YsWithdrawalReceiptDao ysWithdrawalReceiptDao;
	
	@Override
	public YsWithdrawalReceiptDO get(Integer id){
		return ysWithdrawalReceiptDao.get(id);
	}
	
	@Override
	public List<YsWithdrawalReceiptDO> list(Map<String, Object> map){
		return ysWithdrawalReceiptDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ysWithdrawalReceiptDao.count(map);
	}
	
	@Override
	public int save(YsWithdrawalReceiptDO ysWithdrawalReceipt){
		return ysWithdrawalReceiptDao.save(ysWithdrawalReceipt);
	}
	
	@Override
	public int update(YsWithdrawalReceiptDO ysWithdrawalReceipt){
		return ysWithdrawalReceiptDao.update(ysWithdrawalReceipt);
	}
	
	@Override
	public int remove(Integer id){
		return ysWithdrawalReceiptDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ysWithdrawalReceiptDao.batchRemove(ids);
	}
	
}
